package com.imoresoft.magic.app.weather;

import java.util.HashMap;
import java.util.Map;

public class IndexConstants {
	private static final Map<String, String> indexMap = new HashMap<String, String>();
	static {
		indexMap.put("紫外线指数", "ULTRAVIOLET_INDEX");
		indexMap.put("划船指数", "BOATING_INDEX");
		indexMap.put("美发指数", "HAIRCUT_INDEX");
		indexMap.put("交通指数", "TRAFFIC_INDEX");
		indexMap.put("旅游指数", "TRAVELLING_INDEX");
		indexMap.put("逛街指数", "SHOPPING_INDEX");
		indexMap.put("运动指数", "SPORT_INDEX");
		indexMap.put("约会指数", "DATE_INDEX");
		indexMap.put("钓鱼指数", "FISHING_INDEX");
		indexMap.put("感冒指数", "FLU_INDEX");
		indexMap.put("晾晒指数", "AIRCURE_INDEX");
		indexMap.put("穿衣指数", "DRESSING_INDEX");
		indexMap.put("路况指数", "ROAD_INDEX");
		indexMap.put("空气污染扩散条件指数", "AIR_INDEX");
		indexMap.put("夜生活指数", "NIGHT_INDEX");
		indexMap.put("舒适度指数", "COMFORT_INDEX");
		indexMap.put("雨伞指数", "UMBRELLA_INDEX");
		indexMap.put("晨练指数", "EXERCISE_INDEX");
		indexMap.put("化妆指数", "MAKEUP_INDEX");
		indexMap.put("洗车指数", "CARWASH_INEX");
	}

	public static String getColumnNameByIndexName(String indexName) {
		return IndexConstants.indexMap.get(indexName);
	}
	
	public static void main(String[] args){
		System.out.println(getColumnNameByIndexName("洗车指数"));
	}
}
